package com.xixi.config;
import com.xixi.service.MyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
class MyCommandLineRunner implements CommandLineRunner
{
        @Autowired
        private MyService myService;

        @Override
        public void run(String... args) throws Exception {
            myService.getCSV();
        }
}
